<?php

namespace Weapp;

use Weapp\Basic\Basic;

/**
 * 小程序运维中心
 * Class Operation
 * @package Weapp
 */
class Operation extends Basic
{

    /**
     * 实时日志查询
     * @param array $data
     * @return array
     * @throws \WeChat\Exceptions\InvalidResponseException
     * @throws \WeChat\Exceptions\LocalCacheException
     */
    public function realtimelogSearch($data)
    {
        $url = 'wxaapi/userlog/userlog_search';
        $this->registerApi($url, __FUNCTION__, func_get_args());
        return $this->callPostApi($url, $data, true);
    }

}